package com.opennice.soukaoti.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * LearngoUser entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class LearngoUser implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String userEmail;
	private String userName;
	private String userPassword;
	private Date userRegisterTime;
	private Set learngoCategories = new HashSet(0);

	// Constructors

	/** default constructor */
	public LearngoUser() {
	}

	/** minimal constructor */
	public LearngoUser(Integer userId, String userEmail, String userName,
			String userPassword, Date userRegisterTime) {
		this.userId = userId;
		this.userEmail = userEmail;
		this.userName = userName;
		this.userPassword = userPassword;
		this.userRegisterTime = userRegisterTime;
	}

	/** full constructor */
	public LearngoUser(Integer userId, String userEmail, String userName,
			String userPassword, Date userRegisterTime, Set learngoCategories) {
		this.userId = userId;
		this.userEmail = userEmail;
		this.userName = userName;
		this.userPassword = userPassword;
		this.userRegisterTime = userRegisterTime;
		this.learngoCategories = learngoCategories;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserEmail() {
		return this.userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public Date getUserRegisterTime() {
		return this.userRegisterTime;
	}

	public void setUserRegisterTime(Date userRegisterTime) {
		this.userRegisterTime = userRegisterTime;
	}

	public Set getLearngoCategories() {
		return this.learngoCategories;
	}

	public void setLearngoCategories(Set learngoCategories) {
		this.learngoCategories = learngoCategories;
	}

}